package com.wuren.foodshare.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class User implements Serializable {

    private final static long serialVersionUID = 1L;

    private Integer userId;
    private String username;
    private String password;
    private String nikeName;
    private String phone;
    private Integer status;

    private List<Role> roles = new ArrayList<>();
}
